package com.hstcs.ui;

import com.badlogic.gdx.graphics.Color;
import com.badlogic.gdx.scenes.scene2d.Group;
import com.badlogic.gdx.scenes.scene2d.ui.Label;
import com.badlogic.gdx.scenes.scene2d.ui.Table;
import com.hstcs.assets.Assets;

public class HLabel extends Table {
	public Label label;
	
	public HLabel(String str){
		
		label = new Label(str, Assets.skin);
		this.addActor(label);
		this.setTransform(true);
		this.setHeight(label.getHeight());
		this.setWidth(label.getWidth());
	}
	public void setColor(Color color){
		label.setColor(color);
	}
}
